cd "AW_AGENT" &
echo off 
SET /a NR_AGENTS=3

SET /a i=0

:loop
IF %i%==%NR_AGENTS% GOTO END
start "Agente" cmd /k ant -Darg0=1 run
start "Agente" cmd /k ant -Darg0=2 run
SET /a i=%i%+1
GOTO LOOP
:end

exit
